package com.zdpx.pxframework.system.vo.codemsg;

import com.zdpx.pxframework.core.vo.CodeMsg;

/**
 * 系统管理相关错误码
 *
 * @Description:
 * @Author: Cheng XiaoXiao
 * @Date: 2022-02-22 22:56
 */
public class SystemCodeMsg extends CodeMsg {

    /**
     * 角色相关异常
     */
    public static CodeMsg ROLE_KEY_EXIST = new CodeMsg("A0201", "角色标识已存在");

    /**
     * 菜单相关异常
     */
    public static CodeMsg MENU_KEY_EXIST = new CodeMsg("A0301", "菜单标识已存在");
    public static CodeMsg PARENT_MENU_NOT_EXIST = new CodeMsg("A0302", "所选择的父菜单不存在");
}
